<template>
  <div>{{ someData }}</div>
</template>

<script setup>
import { ref, onMounted } from "vue";
const someData = ref("");
/* onMounted(async () => {
  var res = await fetch("https://api.shadiao.pro/chp", {
    method: "get",
  });
  someData.value = await res.json();
}); */
var res = await fetch("https://api.shadiao.pro/chp", {
  method: "get",
});
someData.value = await res.json();
</script>

<style lang="scss" scoped></style>
